FROM python:3.11-slim
RUN pip install --upgrade pip && \
    apt-get update && \
    apt-get install -y --no-install-recommends git && \
    pip install git+https://gitee.com/xuanmingyi/kestra-python.git && \
    pip install --no-cache-dir requests sqlalchemy pymysql requests_toolbelt -i https://mirrors.cloud.tencent.com/pypi/simple/